package com.ljx.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 李加喜
 * @date 2020/9/22 0022 8:28
 * @Email 1129071273@qq.com
 */
@Configuration
@MapperScan("com.ljx.mapper")
public class EduConfig {
    //逻辑删除是不需要引入插件的
    /**
     * 分页插件
     */
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
